<template>
	<ul class="top flex">
		<li class="li0" v-text="Lang.property[lang]"> 总资产折合: </li>
		<li class="li2">
			<hb-button2 :txt="Lang.record[lang]" @clk="e_page_('history')" />
		</li>
		<li class="li3">
			<hb-button2 :txt="Lang.address[lang]" @clk="e_page_('address')" />
		</li>
	</ul>
</template>

<script>
import {rightTop} from './lang'
export default {
	name: 'top',
	props: {
		t_all: {
			default: '23333',
		},
	},
	data() {
		return {
			Lang: rightTop,
		}
	},
	created() {},
	computed: {
		lang() {
			return this.$store.state.setting.lang
		},
	},
	methods: {
		e_page_(s) {
			this.$router.push('/property/' + s)
		},
	},
}
</script>

<style scoped>
.top {
	background-color: #191c29;
	line-height: 48px;
	font-size: 16px;
}
.li0 {
	padding-left: 30px;
	padding-right: 10px;
}
.li2 {
	margin-left: auto;
}
.li3 {
	margin: 0 30px;
}
</style>